package com.bwie.equipment.service;

import java.util.ArrayList;
import java.util.List;


import com.bwie.equipment.dao.EquipmentDao;
import com.bwie.equipment.entity.t_equipment;
import com.bwie.equipment.entity.t_factory;
import com.bwie.equipment.entity.t_status;
import com.bwie.equipment.entity.t_type;

public class EquipmentServiceImpl implements EquipmentService{
	
	private EquipmentDao equipmentDao;
	public EquipmentDao getEquipmentDao() {
		return equipmentDao;
	}
	public void setEquipmentDao(EquipmentDao equipmentDao) {
		this.equipmentDao = equipmentDao;
	}
	//********************************************888
	public List<t_factory> getfactoryList() {
		return equipmentDao.getfactoryList();
	}
	public List<t_status> getstatusList() {
		return equipmentDao.getstatusList();
	}
	public List<t_type> gettypeList() {
		return equipmentDao.gettypeList();
	}
	public void addEquipment(t_equipment equipment) {
		equipmentDao.addEquipment(equipment);
	}
	public int getEquipmentCount(t_equipment equipment) {
		return equipmentDao.getEquipmentCount(equipment);
	}
	public List<t_equipment> getEquipmentList(t_equipment equipment) {
		return equipmentDao.getEquipmentList(equipment);
	}
	public t_equipment getEquipmentByid(t_equipment equipment) {
		return equipmentDao.getEquipmentByid(equipment);
	}
	public void updateEquipment(t_equipment equipment) {
		equipmentDao.updateEquipment(equipment);
	}
	public void deleteEquipment(t_equipment equipment) {
		equipmentDao.deleteEquipment(equipment);	
	}
	
	
	
	
	

	
}
